﻿#pragma once

#include "CheckCaseListCtrl.h"
#include "CheckCasePropertyGridCtrl.h"

// CCheckCaseLibraryDialog 对话框

class CCheckCaseLibraryDialog : public CDialogEx
{
	DECLARE_DYNAMIC(CCheckCaseLibraryDialog)

public:
	CCheckCaseLibraryDialog(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CCheckCaseLibraryDialog();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_CHECK_CASE_LIBRARY };
#endif

protected:
	CImageList m_il;
	CCheckCaseListCtrl m_list;
	CCheckCasePropertyGridCtrl m_props;

protected:
	

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnCheckCaseNew();
	afx_msg void OnUpdateCheckCaseNew(CCmdUI *pCmdUI);
	afx_msg void OnCheckCaseRemove();
	afx_msg void OnUpdateCheckCaseRemove(CCmdUI *pCmdUI);
	afx_msg void OnCheckCaseEdit();
	afx_msg void OnUpdateCheckCaseEdit(CCmdUI *pCmdUI);
	afx_msg void OnNMClickListCase(NMHDR *pNMHDR, LRESULT *pResult);
};
